package com.zatech.cgnci.project.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zatech.cgnci.project.dto.ProportionalLiabilityInvoiceDTO;
import com.zatech.cgnci.project.entity.CgnciProportionalLiabilityInvoiceDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zatech.cgnci.project.vo.ProportionalLiabilityInvoiceVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 临分摊赔账单信息 Mapper 接口
 * </p>
 *
 * @author Generator
 * @since 2024-12-30
 */
@Mapper
public interface CgnciProportionalLiabilityInvoiceMapper extends BaseMapper<CgnciProportionalLiabilityInvoiceDO> {

    IPage<ProportionalLiabilityInvoiceVO> pageBusinessInsurance(@Param("page") Page page, @Param("dto") ProportionalLiabilityInvoiceDTO queryDTO);

    List<ProportionalLiabilityInvoiceVO> getInvoiceDetail(@Param("policyNumber") String policyNumber);
}
